<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>男装专区</title>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/style.css"/>
      <script src="<%=path %>/statics/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	$(window).load(function(){
    		$(".loading").addClass("loader-chanage");
    		$(".loading").fadeOut(300);
    	})
    </script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
<body>
	<header class="top-header fixed-header">
		<a class="icona" href="javascript:history.go(-1)">
				<img src="<%=path %>/statics/images/left.png"/>
			</a>
		<h3>待发货</h3>
			<a class="iconb" href="shopcar.html">
			</a>
	</header>
	
	<div class="contaniner fixed-conta">
		<c:forEach items="${list }" var="OrderTwo">
			<c:if test="${OrderTwo.getFahuoid()==2&&OrderTwo.getZhifu()==1 }">
		<section class="order">
			<dl>
				<dt>
					<time>${OrderTwo.getOrder().getCreateTime() }</time>
					<span>待发货</span>
				</dt>
				<ul>
					<a href="<%=path %>/product/detail/${OrderTwo.getProductId()}">
						<figure><img src="<%=path %>/statics/files/${OrderTwo.getProducts().getFileName()}"/></figure>
						<li>
							<p>${OrderTwo.getProducts().getDescription()}</p>
							<c:if test="${!empty OrderTwo.getColor() }">
								<small>颜色：${OrderTwo.getColor() }</small>
							</c:if>
							 <c:if test="${!empty OrderTwo.getSize() }">
							 	<span>尺寸：${OrderTwo.getSize() }</span>
							 </c:if>
							<b>${OrderTwo.getProducts().getPrice() }</b>
							<strong>数量：${OrderTwo.getQuantity() }</strong>
						</li>
					</a>
				</ul>
				<dd>
					<h3>商品总额</h3>
					<i>${OrderTwo.getCost() }</i>
				</dd>
				<dd>
					<input type="button" value="申请退款" class="order-que"/>
					<a href="go-order.html">
						<input type="button" value="订单详情" />
					</a>
				</dd>
			</dl>
		</section>
		</c:if>
		</c:forEach>
	</div>
	
	
	
	

</body>
</html>